/*
 * @Author: wangqi 2629519506@qq.com
 * @Date: 2023-05-04 17:06:23
 * @LastEditors: cgl
 * @LastEditTime: 2023-07-03 15:36:59
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\testItem\item09.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

// 根据ID查询详情数据
export function getInfoById(resultId) {
  return request({
    url: '/biz/item/09/getInfoById/' + resultId,
    method: 'get',
  })
}
// 1.胸壁侧射野与影像接收器一致性、光野与照射野一致性
export function consistence(data) {
  return request({
    url: '/biz/item/09/consistence',
    method: 'post',
    data,
		headers: {
			repeatSubmit: false,
		}
  })
}
// 2.管电压指示的偏离
export function tubeVoltage(data) {
  return request({
    url: '/biz/item/09/tubeVoltage',
    method: 'post',
    data,
		headers: {
			repeatSubmit: false,
		}
  })
}
// 3.半值层
export function halfValueLayer(data) {
  return request({
    url: '/biz/item/09/halfValueLayer',
    method: 'post',
    data,
		headers: {
			repeatSubmit: false,
		}
  })
}
// 4.输出量重复性、特定辐射输出量
export function repeatabilityOutput(data) {
  return request({
    url: '/biz/item/09/repeatabilityOutput',
    method: 'post',
    data,
		headers: {
			repeatSubmit: false,
		}
  })
}
// 5.自动曝光控制重复性
export function repeatabilityExposure(data) {
  return request({
    url: '/biz/item/09/repeatabilityExposure',
    method: 'post',
    data,
		headers: {
			repeatSubmit: false,
		}
  })
}
// 6.乳腺平均剂量
export function averageDose(data) {
  return request({
    url: '/biz/item/09/averageDose',
    method: 'post',
    data,
		headers: {
			repeatSubmit: false,
		}
  })
}

export function getBaselineValueDetail(itemsId) {
  return request({
    url: `/biz/item/09/repeatabilityOutputBaseLine/${itemsId}`,
    method: 'post',
  })
}